package cn.lxsir.uniapp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author xujiabing
 */
//配置类
@SpringBootApplication
//实现mapper下的接口
@MapperScan(basePackages = {"cn.lxsir.uniapp.mapper"})
//使用异步执行多线程
@EnableAsync
public class UniappApiApplication {

	public static void main(String[] args) {
		SpringApplication.run(UniappApiApplication.class, args);
	}
}
